home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for p3partic.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_PARTICLE_GADGET_H = 1;
- include("real/primgad/p3level.js")
-
-
- var R3CLID_PARTICLEPROPGADGET = 302;
-
-
-
-
-
- R3PAPGM_SETCHANNELVALUE = 302000;
-
- function mR3PAPGM_SETCHANNELVALUE() {
- DoA(this.r3obj, 302000, 0, R3TID_INTEGER, 0);
- }
-
- // Description: private
- // Virtual method
-
- R3PAPGM_SETRENDERER9 = 302009;
-
- function mR3PAPGM_SETRENDERER9() {
- DoA(this.r3obj, 302009, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Register new particle property for the gadget
- // Virtual method
- // p3: Tag[], R3PAA_AttrId, R3PAA_VaId
-
- R3PAPGCM_REGISTERATTRIBUTE_r = 302010;
-
- function mR3PAPGCM_REGISTERATTRIBUTE_r(p3) {
- Do(this.r3obj, 302010, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Register property gadget for a constructor. When the constructor is selected, the registered gadget.
- // Returns: Boolean, true if succeeded.
- // p1: String, constructor id string.
- // p2: Integer, class id of the gadget
-
- R3PAPGCM_REGISTERCONSTRUCTOR = 302023;
-
- function mR3PAPGCM_REGISTERCONSTRUCTOR(p1, p2) {
- return DoA3(this.r3obj, 302023, p1, R3TID_STRING, 0, p2, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Fetch the address of the given tab packer.
- // Returns: Object, packer
- // p3: Integer, tab index
-
- R3PAPGM_GETTABPACKER = 302025;
-
- function mR3PAPGM_GETTABPACKER(p3) {
- return R3ToJS( DoA(this.r3obj, 302025, p3, R3TID_INTEGER, 0));
- }
-
-
-
-
-
-
- function r3Particlepropgadget () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_PARTICLEPROPGADGET, arguments);
- }
- // Methods
- this.SETCHANNELVALUE=mR3PAPGM_SETCHANNELVALUE;
- this.SETRENDERER9=mR3PAPGM_SETRENDERER9;
- this.REGISTERATTRIBUTE_r=mR3PAPGCM_REGISTERATTRIBUTE_r;
- this.REGISTERCONSTRUCTOR=mR3PAPGCM_REGISTERCONSTRUCTOR;
- this.GETTABPACKER=mR3PAPGM_GETTABPACKER;
-
- // Attributes
- }
-
- r3Particlepropgadget.prototype=new r3Levelgadget;
- // p3partic.h_H